



package jerry.html.events;



import java.util.List;

/**
 * 
 * 
 * Player Typing event
 * 
 * 
 * @author (h0t@_G0|i
 *
 */

public class TypeEvtCapImpl
    extends EvtCap
{

    public TypeEvtCapImpl(List<String> list)
    {
        int i = list.size();
        if(i < 4)
        {
        	validEvt = false;
            return;
        }
        validEvt = true;
        timeStamp = Double.valueOf(list.get(0)).doubleValue();
        playerID = Integer.parseInt(list.get(3));
        String s = list.get(2);
        if(s.equals("False"))
            typing = false;
        else
            typing = true;
    }

    public int playerID;
    public boolean typing;
}
